<?php if($output['food_list']): ?>
    <?php foreach($output['food_list'] as $key =>$item): ?>
        <li>
            <a class="flex_display" href="index.php?act=food&op=info&fid=<?php echo $item['fd_id']; ?>">
                <div class="food_img"><img src="<?php echo $item['fd_thumb']; ?>" alt="美食图片"></div>
                <div class="food_info flex-1">
                    <h1 class="p-1"><?php echo $item['fd_title']; ?></h1>
                    <h5><?php echo $item['label']; ?></h5>
                    <h5 style="position:absolute;bottom: 1.2rem;"><?php echo $item['fd_full_addr']; ?></h5>
                    <?php if($item['distance']):?><span><i class="connect iconfont icon-weizhi"></i><?php echo $item['distance']; ?></span><?php endif; ?>
                    <div class="color_red food_price">￥<?php echo $item['price']; ?><span class="">已售<b class="color_red"><?php echo $item['sales']; ?></b>件</span></div>
                </div>
            </a>
        </li>
    <?php endforeach; ?>
<?php endif; ?>